package com.yukino.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName dept
 */
@TableName(value ="dept")
@Data
public class Dept implements Serializable {
    /**
     * 部门ID
     */
    @TableId(value = "dept_id")
    private Long dept_id;

    /**
     * 部门名称
     */
    @TableField(value = "dept_name")
    private String dept_name;

    /**
     * 联系电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 负责人
     */
    @TableField(value = "leader")
    private String leader;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 删除标志（0代表存在 1代表删除）
     */
    @TableField(value = "is_deleted")
    @TableLogic
    private String is_deleted;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private LocalDateTime gmt_create;

    /**
     * 更新时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmt_modified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}